package cn.xy.third.sms.enums;

import lombok.Getter;

/**
 *  @author xy
 */

@Getter
public enum SmsStatus {

    /**
     * 消息未发送
     */
    NOT_SEND(1, "未发送"),

    /**
     * 消息已发送
     */
    SENT(2, "已发送"),

    /**
     * 消息发送失败
     */
    SEND_FAIL(3, "发送失败");


    private int value;

    private String name;

    SmsStatus(int value, String name) {
        this.value = value;
        this.name = name;
    }
}